import './assets/common.scss'

import { createApp } from 'vue'
import App from './App.vue'
import 'element-plus/dist/index.css'
import router from "@/router";
import {createPinia} from "pinia";
import {createPersistedState} from "pinia-persistedstate-plugin";
import {elementIcon} from "@/directives";
import {lazyPlugin} from "@/directives";
import locale from 'element-plus/es/locale/lang/zh-cn'
const app = createApp(App);
const pinia = createPinia();
const persist = createPersistedState();

pinia.use(persist);
app.use(pinia);
app.use(elementIcon)
app.use(lazyPlugin)
app.use(router)
app.mount('#app')